package com.github.data_manage.dao

import com.github.data_manage.domain.po.FundDepthResearchContrastAttachQuarterlyInfo

/**
 *
 * @author chenhainan
 * @since 2025/8/15
 */
interface FundDepthResearchContrastAttachQuarterlyInfoDao: BaseDao<FundDepthResearchContrastAttachQuarterlyInfo> {

    fun findByFundIdIsAndContrastIdIsAndYearIsAndQuarterIs(fundId: Int, contrastId: Int, year: Int, quarter: Int): FundDepthResearchContrastAttachQuarterlyInfo?

    fun findAllByFundIdIsAndContrastIdIn(fundId: Int, contrastIds: List<Int>): List<FundDepthResearchContrastAttachQuarterlyInfo>

    fun findAllByFundIdIsAndContrastIdIsAndYearIs(fundId: Int, contrastId: Int, year: Int): List<FundDepthResearchContrastAttachQuarterlyInfo>

}